<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<%@taglib prefix="decorator" uri="http://www.opensymphony.com/sitemesh/decorator" %>
<%@taglib prefix="page" uri="http://www.opensymphony.com/sitemesh/page" %>
<%@taglib prefix="s" uri="/struts-tags" %>

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <title><decorator:title default="${artifactId}"/></title>
    <s:url var="mainCss" value="/css/main.css"/>
    <link rel="stylesheet" href="${mainCss}"/>
    <s:url var="jqueryDatepickerCss" value="/css/ui.datepicker.css"/>
    <link rel="stylesheet" href="${jqueryDatepickerCss}"/>
    <s:url var="jquery" value="/javascript/jquery.js"/>
    <script type="text/javascript" src="${jquery}"></script>
    <s:url var="jqueryUI" value="/javascript/jquery-ui.js"/>
    <script type="text/javascript" src="${jqueryUI}"></script>
    <decorator:head/>
</head>

<body>
    <div class="logo">
        <s:url var="logo" value="/images/struts-power.gif"/>
        <img src="${logo}" alt="Powered by Struts"/>
    </div>

    <div class="nav">
        <span class="menuButton">
          <s:url var="home" namespace="/" action="home"/>
          <s:a cssClass="home" href="%{#home}">Home</s:a>
        </span>
        <jsp:include page="menu-items.jsp" />
    </div>

    <div class="body">
        <decorator:body/>
    </div>
</body>
</html>
